package com.vpen.commons.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Version: 1.0
 * @Author: Vpen
 * @Date: 2021/3/16 22:31
 * @Content: 订单实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("payment")
public class Payment implements Serializable {
    public static final long serialVersionUID = 56760172358897234L;

    @TableId(value = "payment_id",type = IdType.AUTO)
    private Long paymentId;
    @TableField(value = "payment_serial")
    private String paymentSerial;
}
